﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
using System.Data;
public partial class Admin_Phieugiamgia_Capnhat_phieugiamgia : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        PhieuGiamGiaBLL phieu = new PhieuGiamGiaBLL();
        String ten_sploai1 = phieu.tensploai1_theoId_dd(int.Parse(Request.QueryString["id"]));
        DataTable c = phieu.selectdetail(int.Parse(Request.QueryString["id"]));
        Label1.Text = c.Rows[0][2].ToString();
        Label2.Text = c.Rows[0][3].ToString();
        Label3.Text = c.Rows[0][4].ToString();
        Label4.Text = c.Rows[0][6].ToString();
        Label5.Text = c.Rows[0][7].ToString();
        Label7.Text = c.Rows[0][9].ToString();
        Label8.Text = c.Rows[0][1].ToString();
        Image1.ImageUrl = c.Rows[0][8].ToString();
        Label6.Text = ten_sploai1;
    }
}